﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace WebPrestamoBiblioteca.Dominio
{

    public class Lector
    {

        [DisplayName("ID")]
        public int IdUsuario { get; set; }

        [DisplayName("Nombre")]
        [StringLength(50), Required]
        public string DeNombre { get; set; }

        [DisplayName("Apellidos")]
        [StringLength(50), Required]
        public string DeApellido { get; set; }

        [DisplayName("DNI")]
        [StringLength(12), Required]
        public string NuDocumento { get; set; }

        [DisplayName("Direccion")]
        [StringLength(50), Required]
        public string DeDireccion { get; set; }

        [DisplayName("Distrito")]
        [StringLength(50), Required]
        public string DeDistrito { get; set; }

        [DisplayName("E-mail")]
        [Email, Required]
        public string DeCorreo { get; set; }

        [DisplayName("Situacion")]
        public string DeSituacion { get; set; }

    }
}